package com.rf.richfitwheel.admin.sys.model;

import java.io.Serializable;

public class Dictionary implements Serializable {
    /**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -993371896858074516L;

	private String id;

    private String classCode;

    private String className;

    private String dataCode;

    private String dataName;

    private Integer dataOrder;

    private String remark;

    private String state;

    private String parentId;
    
    private String parentName;

    public Dictionary(String id, String classCode, String className, String dataCode, String dataName, Integer dataOrder, String remark, String state, String parentId) {
        this.id = id;
        this.classCode = classCode;
        this.className = className;
        this.dataCode = dataCode;
        this.dataName = dataName;
        this.dataOrder = dataOrder;
        this.remark = remark;
        this.state = state;
        this.parentId = parentId;
    }

    public Dictionary(String id, String classCode, String className, String dataCode, String dataName, Integer dataOrder, String remark, String state, String parentId, String parentName) {
        this.id = id;
        this.classCode = classCode;
        this.className = className;
        this.dataCode = dataCode;
        this.dataName = dataName;
        this.dataOrder = dataOrder;
        this.remark = remark;
        this.state = state;
        this.parentId = parentId;
        this.parentName = parentName;
    }
    
    public Dictionary() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode == null ? null : classCode.trim();
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className == null ? null : className.trim();
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode == null ? null : dataCode.trim();
    }

    public String getDataName() {
        return dataName;
    }

    public void setDataName(String dataName) {
        this.dataName = dataName == null ? null : dataName.trim();
    }

    public Integer getDataOrder() {
        return dataOrder;
    }

    public void setDataOrder(Integer dataOrder) {
        this.dataOrder = dataOrder;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	/* （非 Javadoc）
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Dictionary [id=");
		builder.append(id);
		builder.append(", classCode=");
		builder.append(classCode);
		builder.append(", className=");
		builder.append(className);
		builder.append(", dataCode=");
		builder.append(dataCode);
		builder.append(", dataName=");
		builder.append(dataName);
		builder.append(", dataOrder=");
		builder.append(dataOrder);
		builder.append(", remark=");
		builder.append(remark);
		builder.append(", state=");
		builder.append(state);
		builder.append(", parentId=");
		builder.append(parentId);
		builder.append(", parentName=");
		builder.append(parentName);
		builder.append("]");
		return builder.toString();
	}
}